package com.crm.domain.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author Xanny
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OperateLog {

    private String operId;

    private String title;

    private Integer businessType;

    private Integer businessTypes;

    private String method;

    private String requestMethod;

    private Integer operatorType;

    private String operParam;

    private String operUrl;

    private String operIp;

    private String operName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime operTime;

    private String deptName;

    private Integer status;

    private String errorMsg;

    private String jsonResult;

    private String createBy;

    private String updateBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
